package com.junbao.message.ui.dto;

import com.junbao.commom.exception.JunBaoException;
import com.junbao.message.domain.model.NotifyMessage;

public abstract class BaseMessage {

	private NotifyMessage notifyMessage;
	
	public abstract void requestDateCheck(String requestData)throws JunBaoException,Exception;
	
	public NotifyMessage getNotifyMessage() {
		return notifyMessage;
	}

	public void setNotifyMessage(NotifyMessage notifyMessage) {
		this.notifyMessage = notifyMessage;
	}
	
	public String getMessageNo(){
		return this.notifyMessage.getMessageNo();
	}
	
	public String getMessageSquece(){
		return this.notifyMessage.getMessageSquece();
	}
	
}
